package com.glory.brepda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: PackgerEntity
 * Author: XJH
 * Date: 2020/7/6 16:27
 * Description:
 * History:
 */
public class PackageEntity implements Serializable {
    private int PACKAGEQTY;

    private String STORAGEID;

    private int MAXREELQTY;

    private String BINGRADE;

    private List<String> SUGGESTSHELFLIST;

    private String SAMPLEINFO;

    private List<SuggestShelfEntity> XPACKAGEDETAILS;

    public List<SuggestShelfEntity> getXPACKAGEDETAILS() {
        if (XPACKAGEDETAILS == null) {
            return new ArrayList<>();
        }
        return XPACKAGEDETAILS;
    }

    public void setXPACKAGEDETAILS(List<SuggestShelfEntity> XPACKAGEDETAILS) {
        this.XPACKAGEDETAILS = XPACKAGEDETAILS;
    }

    public String getBINGRADE() {
        return BINGRADE == null ? "" : BINGRADE;
    }

    public void setBINGRADE(String BINGRADE) {
        this.BINGRADE = BINGRADE;
    }

    public String getSAMPLEINFO() {
        return SAMPLEINFO == null ? "" : SAMPLEINFO;
    }

    public void setSAMPLEINFO(String SAMPLEINFO) {
        this.SAMPLEINFO = SAMPLEINFO;
    }

    public List<String> getSUGGESTSHELFLIST() {
        if (SUGGESTSHELFLIST == null) {
            return new ArrayList<>();
        }
        return SUGGESTSHELFLIST;
    }

    public void setSUGGESTSHELFLIST(List<String> SUGGESTSHELFLIST) {
        this.SUGGESTSHELFLIST = SUGGESTSHELFLIST;
    }

    public int getMAXREELQTY() {
        return MAXREELQTY;
    }

    public void setMAXREELQTY(int MAXREELQTY) {
        this.MAXREELQTY = MAXREELQTY;
    }

    public int getPACKAGEQTY() {
        return PACKAGEQTY;
    }

    public void setPACKAGEQTY(int PACKAGEQTY) {
        this.PACKAGEQTY = PACKAGEQTY;
    }

    public String getSTORAGEID() {
        return STORAGEID == null ? "" : STORAGEID;
    }

    public void setSTORAGEID(String STORAGEID) {
        this.STORAGEID = STORAGEID;
    }

    public class SuggestShelfEntity implements Serializable{
        private String REGION;

        private String SHELFISNULLNO;

        private String packLotId;

        private String packMainQty;

        public String getPackLotId() {
            return packLotId == null ? "" : packLotId;
        }

        public void setPackLotId(String packLotId) {
            this.packLotId = packLotId;
        }

        public String getPackMainQty() {
            return packMainQty == null ? "" : packMainQty;
        }

        public void setPackMainQty(String packMainQty) {
            this.packMainQty = packMainQty;
        }

        public String getREGION() {
            return REGION == null ? "" : REGION;
        }

        public void setREGION(String REGION) {
            this.REGION = REGION;
        }

        public String getSHELFISNULLNO() {
            return SHELFISNULLNO == null ? "" : SHELFISNULLNO;
        }

        public void setSHELFISNULLNO(String SHELFISNULLNO) {
            this.SHELFISNULLNO = SHELFISNULLNO;
        }
    }
}
